package calculator.android;

import org.apache.tuscany.sca.host.embedded.SCADomain;

import calculator.CalculatorService;

public class CalculatorClient {


	public static void main(String[] args)
	{
        	
        	SCADomain scaDomain = SCADomain.newInstance("Calculator.composite");
            
            /*CalculatorService calculatorService = 
                scaDomain.getService(CalculatorService.class, "CalculatorServiceComponent");

            // Calculate
            System.out.println("3 + 2=" + calculatorService.add(3, 2));
            System.out.println("3 - 2=" + calculatorService.subtract(3, 2));
            System.out.println("3 * 2=" + calculatorService.multiply(3, 2));
            System.out.println("3 / 2=" + calculatorService.divide(3, 2));*/

            scaDomain.close();

       
        
    }
    	
	
}